from typing import Any, Callable
from langchain.tools import Tool


def create_tool(name: str, description: str, func: Callable) -> Tool:
    """创建一个Tool实例"""
    return Tool(
        name=name,
        description=description,
        func=func
    )
